New Android users may encounter SD card partitioning problems. Why partition? What are the shards? What is the partitioning method? These problems are actually very simple.
1. The purpose of the partition and the three main partitions of the SD
My cell phone SD card needs to be divided into two partitions, under the WINDOWXP.
The main problem is that Windows only knows the first partition of the SD card.
Someone used to modify the driver, let Windows recognize SD
My phone SD card needs to be divided into two partitions, under the WINDOWXP.The main problem is that window only knows the first partition of the SD card.Someone modified the driver to let Windows recognize the SD card as Hitachi
Recently, you need to divide the SD card into Several partitions when developing a set-top box gui. The following is a summary of how to partition the SD card.
I. Using the disk management tool fdisk in Linux
Sudo fdisk/dev/SDC
Use fdisk to open your
General our U disk (SD card), in My computer, the display is Removable Storage. We are here to change to---local disk, so that Windows to the U disk (SD card) recognized as a hard disk.
Open Device Manager-----Disk drive-The list has a hard disk and your USB drive (SD
Tags: fdisk sdcard l command SD card img font. com span DTBFirst use the Fdisk–l command to view the SD card's partitionYou can see that the SD card has three partitions, the first partition is the FAT32 system, the main storage o
Used to obtain the usage of the SD card and system/data Partition, including the total space size, available space, and used space.
[Java]Package com. schogini. dhcp;Import java. io. File;Import android. content. Context;Import android. OS. Environment;Import android. OS. StatFs;Public class CheckStore {Private static String notice;Public static String checkSD (C
Debugging related to SD card is often encountered in andorid development, such as MP3 files and image files. When developing a simulator, you can simulate an SD card through a hard disk. The specific method is:
(1) Create an SD card
One, SD card partition:
1-First installs the following Partition tool on the computer, WinXP the environment to run normally, but in Win7 operation must choose the XP SP2 (3) after the compatibility to be able to run normally.
Partition Tools Download:
2
Cyinde R (11014, Defaul t 21):Using Defaul T Value 21Last cyl inder, +cyl Inde rs or +s ize{k,m,g} (11014,defaul t 1014): 20MThe commands made by the 2nd partition are:Command (M for He LP): NCommand ActionE ext EndedP Primary partition (14)PPartition Numbe R (14): 2Firs T cyl Inde r (211014) Defaul t 21):Us ing defaul t value 21La St Cyl Inder, +cyl Inde R S or
Make full use of the SD card space in Raspberry Pi
Generally, a 4g sd or TF card is required to create a system image for Raspberry Pi, but do you know if your SD card is 8g or 16g or larger, after various types of Linux are creat
file in the APK package, which occupies the flash space of the Data Partition, so the data partition must be reserved)-RW-r -- System app_58 36608 mnt@asec@com.myarrow.test-1@pkg.apk @ classes. Dex3. Main files to be modified
1) volume. cpp
Modify mountvol/unmountvol and run bindmount on the SD or TF card.
2) defaultc
is modified within the XLLP_MMC_BOARD.C file Xllpmmcconfigure function of the/source folder under it. (Special note: The GPIO34 is to be paired with an interrupt source for detecting SD card insertion.) )Analyze modification and improve the main control side drive important threads and hardware initialization part of the codeDriver loading and architecture analysis of
create a new uEnv.txt file, write the boot configuration information in the file:uenvcmd=run linaro_sdbootlinaro_sdboot=echo Copying Linux from SD to RAM... fatload mmc 0 0x3000000 ${kernel_image} fatload mmc 0 0x2A00000 ${devicetree_image} if fatload mmc 0 0x2000000 ${ramdisk_image}; then bootm 0x3000000 0x2000000 0x2A00000; else bootm 0x3000000 - 0x2A00000; fibootargs=console=ttyPS0,115200 root=/dev/mmcblk0p2 rw earlyprintk rootfstype=ext4 rootw
/********************************************************************************* @author?? Maoxiao Hu* @version? V1.0.0* @date??? Feb-2015******************************************************************************* ********************************************************************************/hardware: Ttm itop 4412 Elite TF card Software: system comes with terminal can First of all, we should be aware that TF/
$ lsAndroid kernel uboot uboot_20111124.tgzLqm @ lqm :~ /S5pv210 $The android compiling script MK is in the android directory, so the kernel directory is ../kernel.Modify the device/Samsung/smdkv210/boardconfig. mk file:# Board_sdmmc_bsp: = false# Modified for sdcard image.Board_sdmmc_bsp: = true
# Board_userdataimage_partition_size: = 1073741824# Modified for sdcard image.Board_userdataimage_partition_size: = 370147328
Modify the system/extras/ext4_utils/mkuserimg. Sh file:# Make_ext4fs-S-L $
:# make Arch=arm Cross_compile=arm-linux-gnueabi HF -Uimage here to note is that the marked place cannot be less than the compilation error When this is finish ' s you'll have uimage ready and you can build the kernel modules:# Make Arch=arm cross_compile=arm-linux-gnueabi-install_mod_path=out modules# Make Arch=arm cross_compile=arm-linux-gnueabi-install_mod_path=out Modules_installFormat and setup the Sd-card
structure of the FAT file system. During formatting, set MBRThe data in the partition and DBR areas is not the last 8 in the SD card storage area.MB area (can be increased or decreased according to actual needs) for formatting, that is, it is set to raw area. Therefore, the implementation of system kernel backup is to fill the system kernel code with the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.